package org.child_motivation.business.service;

import org.child_motivation.business.model.PersonalTask;
import org.child_motivation.business.model.Task;
import org.child_motivation.business.model.TaskForApproval;

import java.util.List;

public interface TaskService {
    void saveOrUpdate(Task task);
    List<Task> getAllTasks();

    void saveOrUpdate(PersonalTask task);
    List<PersonalTask> getTaskForGroup(int groupid);

    void saveOrUpdate(TaskForApproval task);
    List<TaskForApproval> getApprovalTasksForGroup(int groupid);
}
